package com.heima.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.UserRelationDto;
import com.heima.model.user.pojos.ApUserFollow;

import java.awt.geom.RectangularShape;


public interface ApUserFollowService extends IService<ApUserFollow> {

    /**
     * 关注与取消关注
     * @param dto
     * @return
     */
    public ResponseResult follow(UserRelationDto dto);

    /**
     * 查看是否已关注
     */
    public Boolean isFollow(Integer authorId,Integer userId);
}
